function distance_point = get_min_pointdistance(line,lines)
distance_point = zeros(size(lines,1),4);
d = lines(:,1:4)-repmat(line(1,1:2),size(lines,1),2);
d = power(d,2);
d = [d(:,1)+d(:,2),d(:,3)+d(:,4)];
distance_point(:,1:2) = sqrt(d);
d = lines(:,1:4)-repmat(line(1,3:4),size(lines,1),2);
d = power(d,2);
d = [d(:,1)+d(:,2),d(:,3)+d(:,4)];
distance_point(:,3:4) = sqrt(d);
distance_point = min(distance_point,[],2);